using System.Collections.Generic;
using System.Linq;
using OS.Infrastructure.Domain;
using OS.Infrastructure.NHibernate;
using OS.Infrastructure.NHibernate.Repositories;
using TaskKernel.Domain.Interface;

namespace TaskKernel.Domain.Nhibernate.NHibernateLayer
{
    public class QueryFile : BaseRepository<File>, IQueryFile
    {
        public QueryFile(ISessionProvider sessionProvider, ILinqProvider linqProvider)
            : base(sessionProvider, linqProvider)
        {
        }

        public IQueryable<File> AllFiles()
        {
            return All();
        }
    }
}